﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Keepo.Models
{
    public class PremadePage
    {
        public PremadePage()
        {
            ModifiedDate = DateTime.Now;
        }

        public int PremadePageId { get; set; }

        [MaxLength(30)]
        public string Title { get; set; }
        public bool IsSingle { get; set; }
        public bool HasXml { get; set; }
        public bool HasThumbnail { get; set; }
        public bool IsCover { get; set; }

        public int PremadePageCategoryId { get; set; }
        virtual public PremadePageCategory PremadePageCategory { get; set; }

        public int AlbumSizeId { get; set; }
        virtual public AlbumSize AlbumSize { get; set; }

        public DateTime ModifiedDate { get; set; }
    }
}